Skip to main content

shellCommand

Type

property

Summary

Specifies the name and location of the command used for the shell function.

Syntax

set the shellCommand to <shellPath>

Description

Use the shellCommand property to execute a command with a particular shell.

When you use the shell function, the command line you specify is sent to the program specified in the shellCommand.

On OS X and Unix systems, the shellCommand is the path to an executable file. On Windows systems, the shellCommand is a DOS command.

Examples

set the shellCommand to "/bin/sh/ksh"

control structure: function

function: shell

glossary: property, Windows, execute, file path, command line, command, Unix

keyword: file

property: hideConsoleWindows, videoClipPlayer

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?